Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near ")"
LINE 1: select (select (()) as count limit 1000000) as c3676, (sele...
^ in /web/geo/www/includes/database.pgsql.inc on line 139
Warning: ERROR: syntax error at or near ")"
LINE 1: select (select (()) as count limit 1000000) as c3676, (sele...
^
query: select (select (()) as count limit 1000000) as c3676, (select count(*) from (select field_oo_nid from content_type_office left join node on node.nid=content_type_office.field_oo_nid where field_ba_nid in ( select nid from content_type_building where nid in (select 281860 as nid))) as f limit 1000000) as c3682, (select (()) as count limit 1000000) as c3684, (select count(*) from node
left join content_type_organization on content_type_organization.nid=node.nid
where idx_3687 @@ to_tsquery('ru','ленина:* & 11:*')
and node.type='organization' and content_type_organization.cities && array(select nid from term_node where tid=3480) and cities && array(select nid from term_node where tid=3480) limit 1000000) as c3687, (select (()) as count limit 1000000) as c3688, (select (()) as co in /web/geo/www/includes/database.pgsql.inc on line 160 Томск. Найдено по запросу "Ленина 2а-11а"